{include file="template/pc/junqu/_base_top.html"}
<link href="__STATIC__/admin/hui/static/h-ui/css/H-ui.min.css" rel="stylesheet" type="text/css"/>
<link href="__STATIC__/admin/hui/static/h-ui.admin/css/H-ui.login.css" rel="stylesheet" type="text/css"/>
<link href="__STATIC__/admin/hui/static/h-ui.admin/css/style.css" rel="stylesheet" type="text/css"/>
<link href="__STATIC__/admin/hui/lib/Hui-iconfont/1.0.8/iconfont.css" rel="stylesheet" type="text/css"/>

<link rel="stylesheet" href="__TPMPLATE__pc/junqu/css/bootstrap.css">
<link rel="stylesheet" href="__TPMPLATE__pc/junqu/css/bootstrap-theme.css">
<link rel="stylesheet" href="__TPMPLATE__pc/junqu/css/style.css">
<link rel="stylesheet" href="__TPMPLATE__pc/junqu/css/animate.min.css">

<link rel="stylesheet" href="__STATIC__/user/css/user.css">
<link rel="stylesheet" href="__STATIC__/user/css/animate.min.css">

{block name="css"}{/block}

<!--[if IE 6]>
<script type="text/javascript" src="__STATIC__/admin/hui/lib/DD_belatedPNG_0.0.8a-min.js"></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->

<script src="__STATIC__/user/js/jquery.js"></script>
{js href='__STATIC__/w/layui.js' /}
<script type="text/javascript">
    function del(id) {
        layui.use('layer', function () {
            var layer = layui.layer;
            layer.confirm('{:lang("Are you sure you need to delete it")}?', {
                btn: ['{:lang("Confirm")}', '{:lang("Cancel")}'] //按钮
            }, function () {
                $.post("{:url('del')}", {'id': id}, function (res) {
                    if (res.status == 1) {
                        layer.alert(res.msg, function (index) {
                            window.location.reload();
                            layer.close(index);
                        })

                    } else {
                        layer.alert(res.msg)
                    }
                })
            }, function () {

            });
        });

    }

    function checkmail() {
        layui.use('layer', function () {
            var layer = layui.layer;
            $.get("{:url('login/checkmail')}", function (res) {
                layer.alert(res.msg)
            })
        });
    }
</script>
<body>


<div class="casebanner" style="display: none;">

</div>

<!-- 内容 -->
<div class="container-fluid">

    <div class="container">

        <!-- 中间内容 -->
        <div class="contact-wap">

            <!-- 左边 -->
            {include file="public:_left"}

            <!-- 右边 -->
            <div class="pane-right">

                <div class="user-nav">
                    <div class="user-nav-title">
                        <a title="" href="{:url('user/index/index')}">
                            <i class="glyphicon glyphicon-home"></i>
                            {:lang('User center')}
                        </a>
                    </div>
                    {empty name="$user.ismail"}
                    <!--{:session('User.ismail','','User')}-->
                    <div class="user-nav-title" style="display: none;">&nbsp;<a href="#" onclick="checkmail()">lang邮箱未验证：请点击发送邮件，验证邮箱</a>
                    </div>
                    {/empty}
                </div>

                <!-- 列表 -->
                <div class="user_cont">
                    {block name="main"}


                    {/block}

                    <div class="clear"></div>


                </div>
                <!-- #列表 -->

                <div class="clear"></div>

            </div>
            <!-- #右边 -->

        </div>
        <!-- #中间内容 -->

    </div>

</div>
<!-- #内容 -->

<div class="clear"></div>

<!-- 底部信息 -->
<div class="container-fluid foot">

    <div class="container">

        <!-- 底部信息 -->
        <div class="foot-info">
            {$system.count.value}
        </div>
        <!-- #底部信息 -->

    </div>

</div>
<!-- #底部信息 -->

<!-- 联系方式 -->
<div class="sidebar">
    <ul>
        <li>
            <a href="#" target="_blank">
                <img src="__STATIC__/user/images/fdtel-1.png">
                <span>{$system.advisory.value}</span>
            </a>
        </li>

        <li>
            <a href="{:url('user/index/index')}">
                <img src="__STATIC__/user/images/user.png" style="position: relative;top: 5px;">
                <span>{:lang('User center')}</span>
                <!--<span>{$user.name}</span>-->
            </a>
            <a href="#" onclick="logout()"><span>&nbsp;&nbsp;|&nbsp;&nbsp;{:lang('out')}</span></a>
        </li>

        {volist name="online" id="vo"}
        <li>
            <a href="http://wpa.qq.com/msgrd?v=3&amp;uin={$vo.QQ}&amp;site=qq&amp;menu=yes" target="_blank">
                <img alt="{$vo.name}" border="0" src="__STATIC__/user/images/qq.png" title="{$vo.name}">
                <span>{$vo.name}</span>
            </a>
        </li>
        {/volist}
        <li>
            <a href="#page1">
                <img src="__STATIC__/user/images/up-1.png">
                <span>{:lang('top')}</span>
            </a>
        </li>
    </ul>
</div>
<!-- #联系方式 -->

<script type="text/javascript" src="__STATIC__/admin/hui/lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="__STATIC__/admin/hui/lib/layer/2.4/layer.js"></script>

<!-- 调用效果 -->
<script src="__TPMPLATE__pc/junqu/js/work.js"></script>
<script type="text/javascript">
    $(function () {
        // 移动设备访问自动跳转路径
        var urls = '{:request()->root(true)}';
        url(urls);

        // 头部导航菜单
        var showlist = $("<ul class='nav nav-pills'></ul>");
        showall({$json_navs}, showlist);
        $("#navbar").append(showlist);

        // 底部导航菜单
        var fNavlist = $("<div></div>");
        footNavTwo({$json_navs}, fNavlist);
        $(".foot-nav").append(fNavlist);

        // 跳转对应的语言
        $('.langBtn').click(function () {
            var data = {'lang': $(this).attr('lang')};
            $.get("{:url('Index/lang')}", data, function () {
                window.location.href = "{:url('Index/index')}";
            });
        });

        // 导航菜单背景颜色指定ID显示
        var nav = '{$Request.param.navid}';
        if (nav == '') {
            var navID = 209;
        } else {
            var navID = nav;
        }

        // 全部效果集合
        run(navID);

    });
</script>

{block name="js"}{/block}
<script>

    function logout() {
        layer.confirm("{:lang('You are sure to log out')}", {title: '{:lang('Log out reminder')}'}, function (index) {
            location.href = '{:\\think\\Url::build("index/logout")}'
        });
    }
</script>

</body>
</html>